package club.kingyin.commons.constant;

public class MailHtml {

    public static final String header = "<!DOCTYPE html><html><head><meta charset=\"utf-8\"><title>九命邮件</title></head><body><div style=\"margin: 0 auto;\"><div style=\"margin-top: 40px;\"><div style=\"margin: 0 auto; width: 250px; height: 64px;\"><img src=\"http://dev.kingyin.club:9000/cloud/pic/mail-logo.png\"/></div><div><div style=\"margin: 0 auto; width: 400px;\"><br/></div><div style=\"margin: 0 auto; width: 400px;\"><div style=\"margin-bottom: 20px;\"><div style=\"width: 200px;height: 32px;\"><img src=\"http://dev.kingyin.club:9000/cloud/pic/ghost-hello.png\"/></div></div><div>";

    public static final String footer = "</div></div></div><div style=\"margin: 0 auto; width: 400px;\"><p>[本邮件由系统自动发送，请勿直接回复]</p><p style=\"color: #4A90E2; float: left;\"><a style=\"text-decoration: none; color: #9B9B9B;\"href=\"http://www.kingyin.club\">官网</a></p><p style=\"color: #4A90E2; float: left;\">&nbsp;|&nbsp;KY-BLOG&nbsp;|&nbsp;QQ:578145931</a></p><p style=\"color: #4A90E2; float: right;\">博客邮件服务</p><p style=\"float: left;\">@kingyin.club Design by<a style=\"text-decoration: none; color: #9B9B9B;\"href=\"http://www.kingyin.club\">九命可</a>|All rights reserved</p></div></div></div></body></html>";

    public static String codeHtml(int code) {
        return header+"邮箱验证码<p style=\"color: #4A90E2; display: inline;\">"+code+"</p>。5分钟内有效，请妥善保管，请勿向任何人提供验证码！"+footer;
    }
}
